package com.angel.mapper;

import com.angel.bean.ResourceCombination;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ResourceCombinationDao {
    int insert(@Param("resourceCombination") ResourceCombination resourceCombination);

    int insertSelective(@Param("resourceCombination") ResourceCombination resourceCombination);

    int insertList(@Param("resourceCombinations") List<ResourceCombination> resourceCombinations);

    int update(@Param("resourceCombination") ResourceCombination resourceCombination);

    List<ResourceCombination> findAll(@Param("resourceCombination") ResourceCombination resourceCombination);

    int delete(@Param("resourceCombination") ResourceCombination resourceCombination);

    List<ResourceCombination> search(@Param("resourceCombination") ResourceCombination resourceCombination);

    List<ResourceCombination> findAllStrat1Yes(@Param("resourceCombination") ResourceCombination resourceCombination);

    List<ResourceCombination> findAllStrat1No(@Param("resourceCombination") ResourceCombination resourceCombination);
}
